#ifndef KEYBOARDLISTENER_H
#define KEYBOARDLISTENER_H

#include <QThread>
#include <QList>
#include "devices/InputPoint.h"
#include "devices/GestureEvent.h"

class KeyboardListener : public QThread
{
    Q_OBJECT
public:
    explicit KeyboardListener(QObject *); //Bad design example for device... It should not need any other part of the program.
    virtual ~KeyboardListener(){}

signals:
    void signalKeyStroke(int key);

private:
    //Intercepts all keyboard and mouse events
    bool eventFilter(QObject *, QEvent *);


};

#endif // KEYBOARDLISTENER_H
